home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 3
/
Info_Mac_1994-01.iso
/
Newton
/
Information
/
Newton Archive 9
< prev
next >
Wrap
Text File
|
1993-12-30
|
16KB
|
390 lines
Newton Archive Digest Thursday, 30 Sept 1993 Volume 1 : Issue 9
====================================================================
Todays Topics:
[*] 15-puzzle.sit
[*] ascII.sit
[*] calc-104.sit
[*] dialer.sit
[*] fortune-demo.sit
[*] hangman.sit
[*] metro.sit
[*] nnnd.sit
[*] overview-demo.sit
[*] set-lcd-contrast.sit
[*] sleeper-10d3.sit
[*] strainer-03.hqx
[*] time-card.sit
The Newton Archive is moderated by Rob Bruce.
The archive is available via FTP or Gopher at bnnrc-srv.med.jhu.edu
(128.220.81.221)
and will be now also available at sumex-aim.stanford.edu the popular
macintosh site.
Please send articles and binaries to robbruce@bnnrc-srv.med.jhu.edu.
___________________
Comments
--------
Once again I am indebted to Greg Newton-Ingham for his continue support.
The Sumex folk handed over the Newton section to me, so people suffering
from problems with my current setup should have many more choices. The Sumex
archive is mirrored all over the world so availability should also be
improved.
Finally, I am attempting to publish this issue in setext (sp?) without the
aid of a guide to formatting. If you have a mac download easy-view and check
out what happens to this file when you import it as setext. ;) thanks Ian
Feldman and Adam Engst.
[*] 15-puzzle.sit
-----------------
15-Puzzle version 1.0
Copyright © 1993 by Ed Hall. All rights reserved.
The object of 15-Puzzle is to slide fifteen numbered tiles into ascending
order on a four by four grid. It is similar to the "Puzzle" desk accessory
which ships with the Macintosh. A "Solve" button allows you to peek at the
solution and a "Scramble" button messes up the tiling again. The position of
each tile is saved between games.
Comments are welcome. I can be reached at any of these addresses:
America Online: EJHall
CompuServe: 70334,3512
Internet: ejhall@aol.com
15-Puzzle is FREE for all non-commercial distribution provided it is
accompanied by this text file. This program requires the Newton Connection
Kit to install.
Have fun!
Ed Hall
/pub/newton/software/game/15-puzzle.sit
/info-mac/nwt/game/15-puzzle.sit
[*] ascII.sit
-------------
This program is an ascii text chart. Useful for programmers who wish to use
their Newton as a reference for ascii.
/pub/newton/software/util/ascii.sit
/info-mac/nwt/util/ascii.sit
[*] calc-104.sit
----------------
About SciCalc - the first scientific calculator for the Apple NewtonÅ
Version 1.0b4
SciCalc is a simple implementation of a standard (i.e. NOT Reverse Polish or
'RPN') scientific calculator for the Apple Newton MessagePad and similar
PDAs. If you do find problems, please let me know so that I can rectify them
in the next release.
To load it into a Newton MessagePad, you must have a Mac (on which you should
be reading this!) and a Connection Kit. Simply connect your Mac to your
Newton, and install the Calc104.pkg file as a Newton application, down the
connection to your Newton.
New bug-fixes:
Some kind users reported odd behaviour e.g. when finding the sine of Pi.
Initially, this appeared to be a problem of accuracy, which worried me (as I
use the standard Newton SANE routines). However, after considerable
investigation, it transpired that when converting from a number to the
display, small or large numbers could automagically be expressed using
scientific notation (e.g. -4.1056e-08). However, when converting from the
display to a number, the reverse function could not cope with such formats!
I have now implemented my own routines to handle this. However, beware of
rounding problems - if you keep pressing the = key, you will see small
numbers grow, and large ones shrink. The maths routines used are *not*
designed for high precision in the face of such extreme numbers, I am afraid.
Recent features:
I have now implemented my own error handling routines. Although these do not
always give ideal messages, and very occasionally appear to result in a
recurrent error (which may require a reset to stop - if this happens to you,
please mail me!), they are much better than the previous ones.
The calculator now has its own icon in the Extras drawer.
I hope this fills a gap until Dubl-Click's excellent GoFigureÅ calculators
become available, and commend that to you as a worthwhile future purchase.
Howard Oakley, EHN & DIJ Oakley.
CompuServe 70734,120; AppleLink UK0392; Internet Howard@quercus.demon.co.uk;
Fax +44 983 853253.
More fine software from the Isle of Wight, UK!
/pub/newton/software/app/calc-104.sit
/info-mac/nwt/app/calc-104.sit
[*] dialer.sit
--------------
This program turns the entire newton screen into a phone keypad which can be
tapped to generate tones which will dial the phone.
/pub/newton/software/util/dialer.sit
/info-mac/nwt/util/dialer.sit
[*] fortune-demo.sit
--------------------
Introduction
Welcome to the demo version of the Fortune Guide to American Business, an
information tool produced by Apple Computer and Fortune magazine. Building on
the famous Fortune 500 and Service 500 directories that appear annually in
Fortune magazine, the Fortune Guide to American Business gives you a wealth
of information on 1,000 of the largest corporations in U.S. business. You can
peruse information on a companyπs product lines, sales, profits, assets,
stock-market performance, employees, and many other variables. You can chart
these statistics over five years, getting a visual picture of a companyπs
progress or comparing one companyπs performance with anotherπs. For many of
the 1,000 companies covered, a written overview of operations is supplied
from Hooverπs Handbook of American Business, published by The Reference
Press.
*** Please note that this is a large package. After installation it takes up
about 68K so you'll want to load it onto a RAM or Flash card.
Note to Developers
This package also demonstrates the Newton's Digital Book Reader. The entire
book was produced with Apple's Digital Book technology which will soon be
available to developers. As you work with the book, note how templates
(views) can be combined with text and graphic content to make books an
interactive source of information.
Credits
The Fortune Guide to American Business and the demo version was produced by
PensÈe Corporation. It was designed and developed by Scott Shwarts and David
Dunham.
©1993 Apple Computer, Inc.
©1993 Time, Inc.
©1993 The Reference Press
Uploaded with the permission of Apple Computer, Inc. for the benefit of the
Newton community.
/pub/newton/software/app/fortune-demo.sit
/info-mac/nwt/app/fortune-demo.sit
[*] hangman.sit
---------------
W. Colsher
A rather noisy version of Hangman. Sorry about the lame graphics. Version 2
coming soon with decent graphics and selectable "kids" dictionary.
Have fun.
/pub/newton/software/game/hangman.sit
/info-mac/nwt/game/hangman.sit
[*] metro.sit
-------------
This application is a tappable map of the Metro. Big but very cool.
/pub/newton/software/app/metro.sit
/info-mac/nwt/app/metro.sit
[*] nnnd.sit
------------
This program is a Hypercard stack which will send tab delimited text files to
your newton. You don't have to have the toolkit to use this program.
I highly recommend this to everyone with a Newton. Until the connection kit
is released this is a must.
Written by Danny Goodman.
/pub/newton/software/util/nnnd.sit
/info-mac/nwt/util/nnnd.sit
[*] overview-demo.sit
---------------------
Shortly after getting a couple of little (very little) apps going on my
Newton, I came to the conclusion that it was going to be vital to figure out
scrolling and overviews before I could get most of the things I wanted to do
to work. I had a look at Rick Eye's scroller demo (thanks, Rick!) and also at
the checkbook example that came with NTK. I wanted to do something a little
more complex than Rick's scroller (I wanted multiple fields and whatnot) but
found that checkbook was big enough that it was hard for me to figure out
just how it worked.
For that reason, I did this project and found out in the process that it's
pretty hard to write an app that supports overviews and scrolling and is also
simple and straightforward. Nevertheless, here's an overview demo for
whatever it's worth. Some quite small portions of the code come from
checkbook as do some of the ideas, but the large majority is mine (which is
probably to its disadvantage). In figuring out how it works, the thing is to
remember the order in which a view's scripts are called. Opening the
inspector will produce lots of output showing this and indicating that I had
trouble figuring it all out. Also remember (as is mentioned in the NTK readme
file) that all user protos are automatically defined in the base view as
pt_<proto file name>.
Basically, the main view's viewSetupFormScript gets executed and does some
initialization, including creating some dummy data in a script that will
eventually read that data from a soup. Then the two child views (one linked
to the overview and the other linked to the entry view) get their scripts
called, and then the main view's viewSetupDoneScript calls the main view's
viewOverviewScript to display the overview and hide the entry view.
At that point, tapping on a line in the overview calls the overview's
viewClickScript which decides which item has been tapped and calls the base
view's viewOverviewScript to toggle into the entry view. (Tapping the new
button does the same thing after creating a blank item and tapping the
overview button just arbitrarily decides that you must want to edit the last
visible item since you didn't tap on one.)
In the entry view, tapping the overview button does the same thing -- it
cleans up and calls the base view's viewOverviewScript.
There's a little more to it than that, but I hope that that gives anyone
who cares a head start in figuring it out.
There are probably about a bzillion inefficiencies here, but it does appear
to work at the moment. I'm sure that it would be smarter to work with the
soup as you go along rather than reading it into an array at the beginning
and writing it back out at the end, but I haven't figured out much about
soups yet and it's easy to pretend that I'm reading it in at the beginning
and writing it out at the end.
Beware: this code is not thoroughly tested. It very probably contains
serious bugs. Use it at your own risk.
This sample code is free. All portions not lifted from checkbook are
copyright © 1993 by Matthew Dixon Cowles. Those portions from checkbook (if
any are long enough to remain copyrightable) are, of course, copyright © 1993
Apple Computer, Inc. Since Apple distributes checkbook as sample code, I
think that it is reasonable to use checkbook in this way.
Please play with this code, use ideas from it, and incorporate it into your
own projects without any restrictions.
The name of the package (Island) and the icon refer to the client that I'm
doing the project for.
Please send bug reports, suggestions, expressions of praise, and lucrative
job offers to AppleLink address MONDO.
-- Matt
/pub/newton/software/source/code/overview-demo.sit
/info-mac/nwt/dev/overview-demo.sit
[*] set-lcd-contrast.sit
------------------------
Very Simple Newton app, my first I have made. Very stupid, but useful. Sets
the LCD screen on the Newton to 142.
Copyright 1993 by Chris Hanson-Transfinite Systems.
/pub/newton/software/util/set-lcd-contrast.sit
/info-mac/nwt/util/set-lcd-contrast.sit
[*] sleeper-10d3.sit
--------------------
ÄSleeper version 1.0d3 Release Notes
* I added some new things to this version of my little utility.
Ä I added the standard PowerManager routines, so that I can quit
after I hit my
sleep button. This is nice so you won't see Sleeper when you
turn on your
Newton.
Ä I also added a dumb little icon.
Ä And reaadjusted the floater window and buttons to look a little
better.
ÄSleeper version 1.0d2 Release Notes
I updated the Sleeper view to a draggable view, so it can be moved where
the
user likes it.
ÄSleeper version 1.0d1 Release Notes
Sleeper is my first try at a Newton program. It basically puts your
Newton
to sleep on demand. It's a little utility that I thought I would like to
have,
so I wrote it. please send me e-mail if you use it, and by the way it's
free.
Walt Boring IV
waboring@apple.com
/pub/newton/software/util/sleeper-10d3.sit
/info-mac/nwt/util/sleeper-10d3.sit
[*] strainer-03.hqx
-------------------
This is my first Newton application - a little app called Strainer. Strainer
is designed to "strain out" soup entries in the Calendar, Calendar Notes, and
Repeat Meetings soups.
It can be used to delete soup entries which can't be deleted otherwise due to
a bug in the Date Book applet.
This version contains known bugs; I don't recommend that you try to use it
unless you back your Newton up first. Since it is the first version, I also
ask that it not be posted other places such as CompuServe until it's working
well enough. I can't spend much time on commercial services where answering
questions costs money, so I want to debug it here before sending it to any
commercial services. (If anyone wants to put it up for ftp, that's fine).
I'd like to get feedback via the Internet on this version so I can make it
better. Contact me at potts@oit.itd.umich.edu with bug reports, comments, and
suggestions. Please read the READ ME file before using.
-Paul-
/pub/newton/software/util/strainer-03.hqx
/info-mac/nwt/util/strainer-03.hqx
[*] time-card.sit
-----------------
TimeCardÅ comes from my need as a consultant to track daily activities by
client and project. This is a prototype (it doesn't do much yet) and that is
where you come in!
Please review the layout for TimeCard and give me your thoughts. What kind
of items do you keep track of? What reports do you need? When completed,
TimeCard will become a shareware product so your ideas are important. You
get to become part of the design phase. I will try to incorporate the best
ideas into this product.
If you would like to become a beta user and be one of the first to use
TimeCard, please send $25 to:
The MIS Department
2133 Mackenzie Drive
Columbus, Ohio 43220
All beta users will also get Version 1 when it is available for no additional
charge.
Thanks for you cooperation!
Jim Pidcock
The MIS Department
misdept@aol.com
Important information follows:
©1993 by The MIS Department. All rights reserved.
TimeCardÅ Prototype may be freely distributed with this unmodified READ ME
file. All correspondence become the property of The MIS Department.
ANY SOFTWARE DELIVERED TO YOU (CUSTOMER) IS DONE ON AN ≥AS IS≤ BASIS. THE
PARTIES AGREE THAT NO WARRANTY, EXPRESS OR IMPLIED, IS MADE WITH RESPECT TO
THE SOFTWARE, INCLUDING WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE MIS DEPARTMENT
(MIS) DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE SOFTWARE WILL MEET
CUSTOMERπS OR ANY LICENSED ORGANIZATION'S REQUIREMENTS, OR WILL OPERATE IN
THE MANNER DESIRED BY CUSTOMER OR ANY LICENSED COMPANY OR THAT THE SOFTWARE
WILL BE UNINTERRUPTED OR ERROR FREE. MIS SHALL NOT, UNDER ANY CIRCUMSTANCE,
BE LIABLE TO CUSTOMER OR ANY OTHER PERSON FOR ANY SPECIAL, INCIDENTAL, OR
CONSEQUENTIAL DAMAGES HEREUNDER, INCLUDING BUT LIMITED TO THE LOSS OF DATA OR
INFORMATION OF ANY KIND, LOSS OF PROFIT, OR LIABILITY TO THIRD PARTIES,
HOWEVER CAUSED WHETHER BY THE ACT OR NEGLIGENCE OF MIS OR OTHERWISE. IT IS
RECOGNIZED THAT THE EQUIPMENT CONTAINS MEMORIES OR OTHER DEVICES WHICH HAVE
ACCUMULATE SUBSTANTIAL DATA. IN NO EVENT SHALL MIS BE LIABLE TO CUSTOMER IF
ANY SUCH DATA IS LOST OR RENDERED INACCURATE, REGARDLESS OF THE CAUSE OF ANY
SUCH LOSS OR INACCURACY, DIRECTLY OR INDIRECTLY ARISING FROM CUSTOMERπS USE
OR INABILITY TO USE THE SOFTWARE EITHER SEPARATELY OR IN CONJUNCTION WITH
OTHER EQUIPMENT.
/pub/newton/software/app/time-card.sit
/info-mac/nwt/app/time-card.sit